import request from '@/utils/request'
export function fetchDeployList(params) {
  return request({
    url:'/admin/system/config/list',
    method:'get',
    params:params
  })
}

export function updateDeployInfo(uid,info) {
    return request({
      url:'/admin/system/config/update/'+uid,
      method:'post',
      data:info
    })
}
export function newDeployInfo(info) {
    return request({
      url:'/admin/system/config/add',
      method:'post',
      data:info
    })
}
export function deleteDeploy(uid) {
    return request({
      url:'/admin/system/config/del/'+uid,
      method:'get'
    })
}
export function getRate() {
  return request({
    url:'/admin/system/config/moneyRate/get',
    method:'get'
  })
}
export function setRate(params) {
  return request({
    url:'admin/system/config/moneyRate',
    method:'get',
    params:params
  })
}